package com.fleapx.spring.hook.springhooktest.other_aware;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

@EnableProxy(mode="cglib")
public class ImportAwareDemo {

    public static void main(String[] args) {

        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(ImportAwareDemo.class);
        ProxyMode bean = context.getBean(ProxyMode.class);
// ProxyMode(mode=jdk)
        System.out.println(bean);
        context.close();
    }
}